<h1>{$msg}</h1>
<ul>
  {foreach $links as $title => $href}
  <li><a href="{$href}">{$title}</a></li>
  {/foreach}
</ul>